package org.ManagerSystem.DTO;

import java.util.List;

public class PageBean<T> {

    //当前查询的人员职位
    private int rid;

    //当前查询人员部门
    private long did;

    //当前页
    private int currentPage;

    //总页数
    private int totalPage;

    //每页显示记录数
    private int pageSize;

    //总记录数
    private int totalCount;

    //每页显示的数据集合
    private List<T> list;

    public int getRid() {
        return rid;
    }

    public void setRid(int rid) {
        this.rid = rid;
    }

    public long getDid() {
        return did;
    }

    public void setDid(long did) {
        this.did = did;
    }

    public int getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(int currentPage) {
        this.currentPage = currentPage;
    }

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }
}
